<tagLib name="html" />
<include file="Public:header" />
<load href ="__PUBLIC__/Js/common.js" />
<div id="main" class="main" >
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/kindeditor.js"></script>
<script language="JavaScript">
<!--
function checkName(){
	ThinkAjax.send('__URL__/checkAccount/','ajax=1&account='+$F('account'));
}
 KE.show({
        id : 'profile'
   });
//-->
</script>
<div class="content">
	<form method='post' id="form1" action="__URL__/insert/" enctype="multipart/form-data">
<div class="title">新增会员 [  <input type="submit" value="新 增" class="small submit"> <a href="__URL__">返回列表</a> ]</div>
<table cellpadding=3 cellspacing=3>
<tr>
	<td class="tRight" >用户名：</td>
	<td class="tLeft" ><input type="text" class="huge bLeftRequire"  check='Require' warning="用户名不能为空" id="account" name="account" value="{$vo.account}"><input type="button" value="检测帐号" onclick="checkName()" class="submit hMargin">(使用email或手机作为帐号)</td>
</tr>
<tr>
	<td class="tRight" >密码：</td>
	<td class="tLeft" ><input type="text" class="medium bLeft" name="password" value=""></td>
</tr>
<tr>
	<td class="tRight" >真实姓名：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="name" value="">
            <select name="sex">
                <option value="0">------</option><option value="1">男</option><option value="2">女</option>
            </select>
        </td>
</tr>

<tr>
	<td class="tRight" >证件：</td>
	<td class="tLeft" >
            <select name="paypaers">
                <volist name="paypers" id="pp">
                <option value="{$key}">{$pp}</option>
                </volist>
            </select>
            <input type="text" class="huge bLeft" name="payper_no" value=""></td>
</tr>
<tr>
	<td class="tRight" >地址：</td>
	<td class="tLeft" >国家 省  市 <input type="text" class="huge bLeft" name="address" value=""></td>
</tr>
<tr>
	<td class="tRight" >Email：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="email" value=""></td>
</tr>
<tr>
	<td class="tRight" >Email1：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="email1" value=""></td>
</tr>
<tr>
	<td class="tRight" >Email2：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="email2" value=""></td>
</tr>

<tr>
	<td class="tRight" >手机：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="mobile" value=""></td>
</tr>
<tr>
	<td class="tRight" >手机1：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="mobile1" value=""></td>
</tr>
<tr>
	<td class="tRight" >手机2：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="mobile2" value=""></td>
</tr>
<tr>
	<td class="tRight" >QQ：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="qq" value=""></td>
</tr>
<tr>
	<td class="tRight" >MSN：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="msn" value=""></td>
</tr>
<tr>
	<td class="tRight" >Gtalk：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="gtalk" value=""></td>
</tr>
<tr>
	<td class="tRight" >skype：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="skype" value=""></td>
</tr>
<tr>
	<td class="tRight" >所在单位：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="company" value=""></td>
</tr>
<tr>
	<td class="tRight" >单位地址：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="company_address" value=""></td>
</tr>
<tr>
	<td class="tRight" >电话：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="telephone" value=""></td>
</tr>
<tr>
	<td class="tRight" >传真：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="fax" value=""></td>
</tr>
<tr>
	<td class="tRight" >网址：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="website" value=""></td>
</tr>
<tr>
	<td class="tRight" >职位：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft" name="title" value=""></td>
</tr>
<tr>
	<td class="tRight" >邮编：</td>
	<td class="tLeft" ><input type="text" class="medium bLeft" name="zipcode" value=""></td>
</tr>
<tr>
	<td class="tRight" >评级：</td>
	<td class="tLeft" >
            <select name="rank">
                <volist name="rank" id="ra">
                <option value="{$key}">{$ra}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight" >客户类型：</td>
	<td class="tLeft" >
            <select name="type">
                <volist name="type" id="tp">
                <option value="{$key}">{$tp}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight" >积分：</td>
	<td class="tLeft" ><input type="text" class="medium bLeft" name="score" value=""></td>
</tr>
<tr>
	<td class="tRight" >客户来源：</td>
	<td class="tLeft" ><input type="text" class="medium bLeft" name="refer" value=""></td>
</tr>
<tr>
	<td class="tRight" >来自分店：</td>
	<td class="tLeft" >
            <select name="from_hotel">
			    <option value="0">--请选择分店--</option>
                <volist name="hotel" id="ht">
                <option value="{$ht.id}">{$ht.name}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td class="tRight tTop">简介：</td>
	<td class="tLeft"><textarea class="large bLeft"  id="profile" name="profile" style="width:650px;height:200px;"></textarea></td>
</tr>
<tr>
	<td class="tRight tTop">备注说明：</td>
	<td class="tLeft"><textarea class="large bLeft"  name="remark" style="width:650px;height:100px;"></textarea></td>
</tr>
<tr>
	<td></td>
	<td class="center">
            <input type="hidden" name="user_id" value="{$_SESSION.authId}" >
	<input type="submit" value="新 增" class="small submit">
	<input type="reset" class="small submit" onclick="javascript:history.back()" value="返 回" >
	</td>
</tr>
</table>
</form>
</div>
</div>
